// gmBomb.h

#include "bomb.h"
#include "gmFili.h"     // Must include gmBind!

class gmBomb	:	public gmBind< bomb, gmBomb >
{
public:
    // Indicate that this proxy class exports functions
	GMBIND_DECLARE_FUNCTIONS( );
	// This proxy also exports properties
	GMBIND_DECLARE_PROPERTIES( );

	// No Constructor or Destructor are required
	
	// No gmbind Constructor() or Destructor() methods are needed as this
	// is a simple class which needs no special constructor arguments
	
	// Declare a method to handle the explosion callback
	static int gmExplode(gmThread * a_thread);
	static int gmAddTimer(gmThread *a_thread);
	
	// Declare a get/set property callback to handle the 'exploded' property
	static bool getExploded( bomb *a_native, gmThread * a_thread, gmVariable * a_operands );
	static bool setExploded( bomb *a_native, gmThread * a_thread, gmVariable * a_operands );
};
